package design.mode.model.factory.configfactory.configtest;

import design.mode.model.factory.coffee.Coffee;
import design.mode.model.factory.configfactory.factory.SimpConfigureFactory;

/**
 * @author ldanniel
 * @description
 * @date 2023/21/19:43
 * @since jdk11
 */
public class SimpConfigureFactoryTest {
    public static void main(String[] args) {
        Coffee coffee = (Coffee)SimpConfigureFactory.createCoffee("american");
        System.out.println(coffee.getName());
    }
}
